<html>

  <head>
    <script>
    function startRequest() {
      var w = document.getElementById("lizbet");
      var s = document.getElementById("selector");
      var g = w.elements
      for (n = 1; n < w.elements.length-1; n++) {
	      if (s.selectedIndex == 0) {
	        g[n].value = 10*n;
	      } else {
	        g[n].value = 20*n;
	      }
	  }
    }
        
    </script>
  </head>
  <body>
    <div id="divForm">
      <form action="#" id="lizbet">
        <select onchange="startRequest();" id="selector">
          <option>Handelsplats 1</option>
          <option>Handelsplats 2</option>          
        </select>
        <input type="text" name="0" value="10"/>
        <input type="text" name="1" value="20"/>
        <input type="text" name="2" value="30"/>
        <input type="submit" value="START"/>  
      </form>
      
    </div>
    <div id="messages">
      I'm running!
    </div>
  </body>
</html>


<form action="/processtradingorder" method="post">